package com.zzy.banian.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 联系人表 crm_contact
 * 
 * @author zhangzuoyi
 * @date 2019-05-03
 */
public class Contact extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/**  */
	private String name;
	/** 客户ID */
	private Integer customerId;
	/** 联系人类型 */
	private Integer type;
	/** 部门 */
	private String dept;
	/** 职位 */
	private String position;
	/** 性别 */
	private Integer sex;
	/** 生日 */
	private String birthday;
	/** 手机号 */
	private String mobile;
	/** 座机 */
	private String tel;
	/** 邮箱 */
	private String email;
	/** 微信号 */
	private String wechat;
	/** QQ号 */
	private String qq;
	/** 传真 */
	private String fax;
	/** 联系地址 */
	private String addr;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setCustomerId(Integer customerId) 
	{
		this.customerId = customerId;
	}

	public Integer getCustomerId() 
	{
		return customerId;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setDept(String dept) 
	{
		this.dept = dept;
	}

	public String getDept() 
	{
		return dept;
	}
	public void setPosition(String position) 
	{
		this.position = position;
	}

	public String getPosition() 
	{
		return position;
	}
	public void setSex(Integer sex) 
	{
		this.sex = sex;
	}

	public Integer getSex() 
	{
		return sex;
	}
	public void setBirthday(String birthday) 
	{
		this.birthday = birthday;
	}

	public String getBirthday() 
	{
		return birthday;
	}
	public void setMobile(String mobile) 
	{
		this.mobile = mobile;
	}

	public String getMobile() 
	{
		return mobile;
	}
	public void setTel(String tel) 
	{
		this.tel = tel;
	}

	public String getTel() 
	{
		return tel;
	}
	public void setEmail(String email) 
	{
		this.email = email;
	}

	public String getEmail() 
	{
		return email;
	}
	public void setWechat(String wechat) 
	{
		this.wechat = wechat;
	}

	public String getWechat() 
	{
		return wechat;
	}
	public void setQq(String qq) 
	{
		this.qq = qq;
	}

	public String getQq() 
	{
		return qq;
	}
	public void setFax(String fax) 
	{
		this.fax = fax;
	}

	public String getFax() 
	{
		return fax;
	}
	public void setAddr(String addr) 
	{
		this.addr = addr;
	}

	public String getAddr() 
	{
		return addr;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("customerId", getCustomerId())
            .append("type", getType())
            .append("dept", getDept())
            .append("position", getPosition())
            .append("sex", getSex())
            .append("birthday", getBirthday())
            .append("mobile", getMobile())
            .append("tel", getTel())
            .append("email", getEmail())
            .append("wechat", getWechat())
            .append("qq", getQq())
            .append("fax", getFax())
            .append("addr", getAddr())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
